Utility Routines
The examples in the next sections use several utility routines to modularize their code. These routines are the following:
-
AddTweenAtom
adds an atom of type
kTweenEntry
plus its standard child atoms (other than the
kTweenDataAtom
) to a container.
-
AddDataAtom
adds a data atom with an ID of
dataAtomID
as a child atom of
tweenAtom
.
-
AddSequenceTweenAtom
adds a
kTweenEntry
atom for a sequenced tween.
-
AddSequenceElement
adds a leaf atom of type
kTweenSequenceElement
to a container.
© 1999 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |